/**
 * Condition for select query. When querying some data, database get a list of xml serialization
 * this object
 */
package model.database;

import org.simpleframework.xml.*
;

/**
 * @author Potseluev
 *
 */
@Root
public class QueryCondition {
	
	@Element(required=true)
	private String conditionName;
	
	@Attribute(required=false)
	private String value = "";

	/**
	 * Condition for query instruction xml
	 * @return
	 */
	public String getConditionName() {
		return conditionName;
	}

	public void setConditionName(String conditionName) {
		this.conditionName = conditionName;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
}
